{% extends "admin/change_list.html" %}
{% load i18n admin_urls %}

{% block object-tools-items %}
    {% if show_upload_button %}
    <li>
        <a href="{% url 'admin:product_upload_excel' %}" class="addlink">
            {% trans "Upload Products from Excel" %}
        </a>
    </li>
    {% endif %}
    {{ block.super }}
{% endblock %}
